//
//  mm_addAndModifyViewController.h
//  HondaPro_2
//
//  Created by Eric on 13-6-28.
//  Copyright (c) 2013年 glendale. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "AddRepairItemSubView.h"
#import "AddPartListSubView.h"
#import "AddOtherChargeListSubView.h"
#import "DisRepairItemSubView.h"
#import "DisPartListSubView.h"
#import "DisOtherChargeListSubView.h"
#import "HelpClass.h"

#import "mm_codeItemForRepairItemViewController.h"
#import "UIViewController+MJPopupViewController.h"
#import "MJPopupBackgroundView.h"

@protocol mm_addAndModifyViewControllerDelegate <NSObject>

@optional
-(void)repairProjectListDataChanged;
-(void)parttListDataChanged;

@end

@interface mm_addAndModifyViewController : UIViewController
{
    mm_codeItemForRepairItemViewController *_popUpViewDis;
}

//弹出代码选择的框
-(void)popUpTheCodeSelectionView;

//scrollView滚动一定位置
-(void)scrollViewScrollByOffSet;

@property(nonatomic,assign)double repairDiscount;
@property(nonatomic,assign)double partDiscount;
@property(nonatomic,assign)BOOL isRepairPage;
@property(nonatomic,weak)id<mm_addAndModifyViewControllerDelegate> delegate;
/** 工时单价 */
@property(nonatomic,copy)NSString *labourPrice;
/** 工单的工时单价 */
@property(nonatomic,copy)NSString *jobSheetLabourPrice;
/** 工单的工时单价 */
@property(nonatomic,copy)NSString *carType;
//车型类型code
@property(nonatomic,copy)NSString *carTypeCode;
@end
